package dao;

import java.util.List;

import org.springframework.orm.hibernate3.HibernateTemplate;

import model.Account;

public interface AccountDao {	
	public boolean createAccount(Account account);
	public Account getAccount(long id);
	public boolean updateAccount(Account account);
	public boolean deleteAccount(long id);
	public List<Account> getAllAccount();
	public long checkAccount(String username,String password);
}
